.class public final Lcom/paypal/android/MEP/b/e;
.super Lcom/paypal/android/b/c;

# interfaces
.implements Landroid/view/View$OnTouchListener;


# instance fields
.field private a:Lcom/paypal/android/b/g;

.field private b:Z

.field private g:Landroid/graphics/drawable/GradientDrawable;

.field private h:Landroid/graphics/drawable/GradientDrawable;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/paypal/android/b/n;)V
    .locals 11

    invoke-direct {p0, p1}, Lcom/paypal/android/b/c;-><init>(Landroid/content/Context;)V

    invoke-static {}, Lcom/paypal/android/MEP/e;->a()Lcom/paypal/android/MEP/e;

    move-result-object v7

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->c()Lcom/paypal/android/MEP/h;

    move-result-object v8

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->d()Lcom/paypal/android/MEP/l;

    move-result-object v9

    instance-of v10, p2, Lcom/paypal/android/MEP/a/g;

    instance-of v0, p2, Lcom/paypal/android/MEP/a/q;

    if-nez v0, :cond_0

    instance-of v0, p2, Lcom/paypal/android/MEP/a/k;

    if-eqz v0, :cond_3

    :cond_0
    const/4 v0, 0x1

    move v6, v0

    :goto_0
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/paypal/android/MEP/b/e;->a(Landroid/widget/LinearLayout$LayoutParams;I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v1, 0x1

    invoke-virtual {p0, v0, v1}, Lcom/paypal/android/MEP/b/e;->a(Landroid/widget/LinearLayout$LayoutParams;I)V

    const/4 v0, -0x1

    const v1, -0x170e06

    const v2, -0x777778

    invoke-static {v0, v1, v2}, Lcom/paypal/android/a/f;->a(III)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v0

    iput-object v0, p0, Lcom/paypal/android/MEP/b/e;->g:Landroid/graphics/drawable/GradientDrawable;

    const/4 v0, -0x1

    const v1, 0xd8d3a4

    const v2, -0x777778

    invoke-static {v0, v1, v2}, Lcom/paypal/android/a/f;->a(III)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v0

    iput-object v0, p0, Lcom/paypal/android/MEP/b/e;->h:Landroid/graphics/drawable/GradientDrawable;

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->g:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    const/4 v0, 0x5

    const/4 v1, 0x5

    const/4 v2, 0x5

    const/4 v3, 0x0

    invoke-virtual {p0, v0, v1, v2, v3}, Lcom/paypal/android/MEP/b/e;->setPadding(IIII)V

    const/16 v0, 0x378a

    const/16 v1, 0x1cf

    invoke-static {v0, v1}, Lcom/paypal/android/a/g;->a(II)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->a(Landroid/graphics/drawable/Drawable;)V

    const v0, 0x9620

    const/16 v1, 0x1ae

    invoke-static {v0, v1}, Lcom/paypal/android/a/g;->a(II)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->b(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {p0, p0}, Lcom/paypal/android/MEP/b/e;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->A()I

    move-result v0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_16

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->j()Ljava/math/BigDecimal;

    move-result-object v0

    sget-object v1, Ljava/math/BigDecimal;->ZERO:Ljava/math/BigDecimal;

    invoke-virtual {v0, v1}, Ljava/math/BigDecimal;->compareTo(Ljava/math/BigDecimal;)I

    move-result v0

    if-gtz v0, :cond_1

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->i()Ljava/math/BigDecimal;

    move-result-object v0

    sget-object v1, Ljava/math/BigDecimal;->ZERO:Ljava/math/BigDecimal;

    invoke-virtual {v0, v1}, Ljava/math/BigDecimal;->compareTo(Ljava/math/BigDecimal;)I

    move-result v0

    if-gtz v0, :cond_1

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->o()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->f()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_4

    :cond_1
    const/4 v0, 0x1

    :goto_1
    iput-boolean v0, p0, Lcom/paypal/android/MEP/b/e;->b:Z

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    invoke-virtual {v0}, Lcom/paypal/android/MEP/m;->c()Lcom/paypal/android/MEP/i;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    invoke-virtual {v0}, Lcom/paypal/android/MEP/m;->c()Lcom/paypal/android/MEP/i;

    move-result-object v0

    invoke-virtual {v0}, Lcom/paypal/android/MEP/i;->c()Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_5

    const/4 v0, 0x0

    move v1, v0

    :goto_2
    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    invoke-virtual {v0}, Lcom/paypal/android/MEP/m;->c()Lcom/paypal/android/MEP/i;

    move-result-object v0

    invoke-virtual {v0}, Lcom/paypal/android/MEP/i;->c()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_5

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    invoke-virtual {v0}, Lcom/paypal/android/MEP/m;->c()Lcom/paypal/android/MEP/i;

    move-result-object v0

    invoke-virtual {v0}, Lcom/paypal/android/MEP/i;->c()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/j;

    invoke-virtual {v0}, Lcom/paypal/android/MEP/j;->f()Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/paypal/android/MEP/b/e;->b:Z

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_3
    const/4 v0, 0x0

    move v6, v0

    goto/16 :goto_0

    :cond_4
    const/4 v0, 0x0

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    if-eqz v6, :cond_9

    const-string v0, "system-icon-confirmation.png"

    invoke-static {p1, v0}, Lcom/paypal/android/a/g;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/ImageView;

    move-result-object v0

    :goto_3
    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/paypal/android/b/g;

    sget-object v2, Lcom/paypal/android/a/r;->d:Lcom/paypal/android/a/r;

    sget-object v3, Lcom/paypal/android/a/r;->c:Lcom/paypal/android/a/r;

    const/high16 v4, 0x3f00

    const/high16 v5, 0x3f00

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/paypal/android/b/g;-><init>(Landroid/content/Context;Lcom/paypal/android/a/r;Lcom/paypal/android/a/r;FF)V

    iput-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    if-eqz v6, :cond_d

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->C()Z

    move-result v0

    if-nez v0, :cond_6

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->l()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_c

    :cond_6
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ANDROID_total_paid"

    invoke-static {v2}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    :goto_4
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const/high16 v1, -0x100

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(I)V

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->f()Z

    move-result v0

    if-eqz v0, :cond_10

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->g()Lcom/paypal/android/MEP/m;

    move-result-object v1

    invoke-virtual {v1}, Lcom/paypal/android/MEP/m;->l()Ljava/math/BigDecimal;

    move-result-object v1

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/paypal/android/a/n;->a(Ljava/math/BigDecimal;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    :goto_5
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const v1, -0xcc9a00

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const/4 v1, 0x5

    const/4 v2, 0x0

    const/4 v3, 0x5

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/paypal/android/b/g;->setPadding(IIII)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->e:Lcom/paypal/android/b/d;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->e:Lcom/paypal/android/b/d;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/d;->setVisibility(I)V

    iget-boolean v0, p0, Lcom/paypal/android/MEP/b/e;->b:Z

    if-eqz v0, :cond_15

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, 0x1

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v1, -0x777778

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->f()Z

    move-result v0

    if-eqz v0, :cond_11

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->g()Lcom/paypal/android/MEP/m;

    move-result-object v0

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v0, v1}, Lcom/paypal/android/MEP/b/f;->a(Landroid/content/Context;Lcom/paypal/android/MEP/m;Ljava/lang/String;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_7
    :goto_6
    new-instance v0, Landroid/view/View;

    invoke-direct {v0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, 0x1

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v1, -0x777778

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    sget-object v0, Lcom/paypal/android/a/r;->c:Lcom/paypal/android/a/r;

    invoke-static {v0, p1}, Lcom/paypal/android/a/q;->a(Lcom/paypal/android/a/r;Landroid/content/Context;)Landroid/widget/TextView;

    move-result-object v1

    const/4 v0, 0x5

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setGravity(I)V

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->f()Z

    move-result v0

    if-eqz v0, :cond_13

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->g()Lcom/paypal/android/MEP/m;

    move-result-object v0

    invoke-virtual {v0}, Lcom/paypal/android/MEP/m;->l()Ljava/math/BigDecimal;

    move-result-object v0

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/paypal/android/a/n;->a(Ljava/math/BigDecimal;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_7
    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_14

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "ANDROID_total"

    invoke-static {v3}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ": "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_8
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    sget-object v0, Lcom/paypal/android/a/r;->f:Lcom/paypal/android/a/r;

    invoke-static {v0, p1}, Lcom/paypal/android/a/q;->a(Lcom/paypal/android/a/r;Landroid/content/Context;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setGravity(I)V

    const-string v1, "ANDROID_shipping_tax_estimated_note"

    invoke-static {v1}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->o()Z

    move-result v1

    if-eqz v1, :cond_8

    if-eqz v10, :cond_8

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_8
    :goto_9
    return-void

    :cond_9
    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->C()Z

    move-result v0

    if-nez v0, :cond_a

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->l()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_b

    :cond_a
    const-string v0, "shopping-list-enabled.png"

    invoke-static {p1, v0}, Lcom/paypal/android/a/g;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/ImageView;

    move-result-object v0

    goto/16 :goto_3

    :cond_b
    const-string v0, "shopping-cart-enabled.png"

    invoke-static {p1, v0}, Lcom/paypal/android/a/g;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/ImageView;

    move-result-object v0

    goto/16 :goto_3

    :cond_c
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ANDROID_receipt"

    invoke-static {v2}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_d
    iget-boolean v0, p0, Lcom/paypal/android/MEP/b/e;->b:Z

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ANDROID_my_total"

    invoke-static {v2}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_e
    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    invoke-virtual {v0}, Lcom/paypal/android/MEP/m;->f()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_f

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_f

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_f
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ANDROID_my_total"

    invoke-static {v2}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_10
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->h()Ljava/math/BigDecimal;

    move-result-object v1

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/paypal/android/a/n;->a(Ljava/math/BigDecimal;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    goto/16 :goto_5

    :cond_11
    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->b()Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_12

    const/4 v0, 0x0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v0, v1}, Lcom/paypal/android/MEP/b/f;->a(Landroid/content/Context;Lcom/paypal/android/MEP/m;Ljava/lang/String;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_6

    :cond_12
    const/4 v0, 0x0

    move v1, v0

    :goto_a
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_7

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/paypal/android/MEP/m;

    new-instance v3, Lcom/paypal/android/MEP/b/f;

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, p1, v0, v4}, Lcom/paypal/android/MEP/b/f;-><init>(Landroid/content/Context;Lcom/paypal/android/MEP/m;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_a

    :cond_13
    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->h()Ljava/math/BigDecimal;

    move-result-object v0

    invoke-virtual {v0}, Ljava/math/BigDecimal;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/paypal/android/a/n;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_7

    :cond_14
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "ANDROID_total"

    invoke-static {v3}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " ("

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v8}, Lcom/paypal/android/MEP/h;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "): "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_8

    :cond_15
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->setClickable(Z)V

    goto/16 :goto_9

    :cond_16
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/paypal/android/MEP/b/e;->b:Z

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    if-eqz v6, :cond_18

    const-string v0, "system-icon-confirmation.png"

    invoke-static {p1, v0}, Lcom/paypal/android/a/g;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/ImageView;

    move-result-object v0

    :goto_b
    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/paypal/android/b/g;

    sget-object v2, Lcom/paypal/android/a/r;->d:Lcom/paypal/android/a/r;

    sget-object v3, Lcom/paypal/android/a/r;->c:Lcom/paypal/android/a/r;

    const/high16 v4, 0x3f00

    const/high16 v5, 0x3f00

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/paypal/android/b/g;-><init>(Landroid/content/Context;Lcom/paypal/android/a/r;Lcom/paypal/android/a/r;FF)V

    iput-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    if-eqz v6, :cond_19

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ANDROID_receipt"

    invoke-static {v2}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const-string v1, ""

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    :goto_c
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const/high16 v1, -0x100

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const v1, -0xcc9a00

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->c:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->e:Lcom/paypal/android/b/d;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->e:Lcom/paypal/android/b/d;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/d;->setVisibility(I)V

    invoke-virtual {v7}, Lcom/paypal/android/MEP/e;->d()Lcom/paypal/android/MEP/l;

    move-result-object v0

    if-nez v10, :cond_8

    iget-object v1, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, 0x1

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v2, -0x777778

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v2, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Lcom/paypal/android/b/g;

    sget-object v2, Lcom/paypal/android/a/r;->e:Lcom/paypal/android/a/r;

    sget-object v3, Lcom/paypal/android/a/r;->f:Lcom/paypal/android/a/r;

    invoke-direct {v1, p1, v2, v3}, Lcom/paypal/android/b/g;-><init>(Landroid/content/Context;Lcom/paypal/android/a/r;Lcom/paypal/android/a/r;)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "ANDROID_name"

    invoke-static {v3}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    invoke-virtual {v9}, Lcom/paypal/android/MEP/l;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v0}, Lcom/paypal/android/MEP/l;->b()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_17

    invoke-virtual {v0}, Lcom/paypal/android/MEP/l;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_17

    new-instance v1, Lcom/paypal/android/b/g;

    sget-object v2, Lcom/paypal/android/a/r;->e:Lcom/paypal/android/a/r;

    sget-object v3, Lcom/paypal/android/a/r;->f:Lcom/paypal/android/a/r;

    invoke-direct {v1, p1, v2, v3}, Lcom/paypal/android/b/g;-><init>(Landroid/content/Context;Lcom/paypal/android/a/r;Lcom/paypal/android/a/r;)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "ANDROID_start_date"

    invoke-static {v3}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/paypal/android/MEP/l;->b()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x2

    invoke-static {v2, v3}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_17
    invoke-virtual {v0}, Lcom/paypal/android/MEP/l;->c()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_8

    invoke-virtual {v0}, Lcom/paypal/android/MEP/l;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_8

    new-instance v1, Lcom/paypal/android/b/g;

    sget-object v2, Lcom/paypal/android/a/r;->e:Lcom/paypal/android/a/r;

    sget-object v3, Lcom/paypal/android/a/r;->f:Lcom/paypal/android/a/r;

    invoke-direct {v1, p1, v2, v3}, Lcom/paypal/android/b/g;-><init>(Landroid/content/Context;Lcom/paypal/android/a/r;Lcom/paypal/android/a/r;)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "ANDROID_end_date"

    invoke-static {v3}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/paypal/android/MEP/l;->c()Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x2

    invoke-static {v0, v2}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_9

    :cond_18
    const-string v0, "shopping-list-enabled.png"

    invoke-static {p1, v0}, Lcom/paypal/android/a/g;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/ImageView;

    move-result-object v0

    goto/16 :goto_b

    :cond_19
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const-string v1, "ANDROID_billing_summary"

    invoke-static {v1}, Lcom/paypal/android/a/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const-string v1, ""

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(Ljava/lang/String;)V

    goto/16 :goto_c
.end method


# virtual methods
.method public final a(Z)V
    .locals 1

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->h:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->g:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0
.end method

.method public final a(ZZ)V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x1

    const v2, -0x777778

    const/4 v1, 0x0

    if-eqz p1, :cond_1

    iget-boolean v0, p0, Lcom/paypal/android/MEP/b/e;->b:Z

    if-eqz v0, :cond_1

    invoke-virtual {p0, v3}, Lcom/paypal/android/MEP/b/e;->setFocusable(Z)V

    invoke-virtual {p0, v3}, Lcom/paypal/android/MEP/b/e;->setClickable(Z)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->e:Lcom/paypal/android/b/d;

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/d;->setVisibility(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const/high16 v1, -0x100

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->a(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    const v1, -0xcc9a00

    invoke-virtual {v0, v1}, Lcom/paypal/android/b/g;->b(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0, v1}, Lcom/paypal/android/MEP/b/e;->setFocusable(Z)V

    invoke-virtual {p0, v1}, Lcom/paypal/android/MEP/b/e;->setClickable(Z)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->e:Lcom/paypal/android/b/d;

    invoke-virtual {v0, v4}, Lcom/paypal/android/b/d;->setVisibility(I)V

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    invoke-virtual {v0, v2}, Lcom/paypal/android/b/g;->a(I)V

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->a:Lcom/paypal/android/b/g;

    invoke-virtual {v0, v2}, Lcom/paypal/android/b/g;->b(I)V

    goto :goto_0
.end method

.method public final onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 2

    const/4 v1, 0x0

    invoke-virtual {p0}, Lcom/paypal/android/MEP/b/e;->isFocusable()Z

    move-result v0

    if-nez v0, :cond_0

    :goto_0
    return v1

    :cond_0
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->g:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    :pswitch_0
    iget-object v0, p0, Lcom/paypal/android/MEP/b/e;->h:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0, v0}, Lcom/paypal/android/MEP/b/e;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
    .end packed-switch
.end method
